package com.opo5.logisticsmanagement.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

/**
 * 库位表
 */
@Data
public class Locator {
    private Integer id;         //库位id
    private String locatorName;        //库位名称
    private Integer locatorCapacity;   //库位容积
    private Integer depotId;   //仓库id

    //一对多
    @TableField(exist = false)
    private List<Material> materials;
}
